package org.linlinjava.litemall.admin.controller.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.admin.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("销售统计")
public class AdminSalesStatisticsReqVO {
    @ApiModelProperty("订单来源")
    private List<Integer> orderSource;

    @ApiModelProperty("门店id")
    private Integer shopId;

    @ApiModelProperty("支付方式")
    private Integer payType;

    @ApiModelProperty("时间")
    @DateTimeFormat(pattern = DateUtil.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime[] dateRange;
}
